writer

Writes custom events into the agent's active output stream (gap #21). The loop supplies a real writer bound to the output flow; defaults to NoopToolStreamWriter when a context is constructed outside the loop.